class Outer{
	private int num = 4;
	public void test(){
		class Inner{
			void show(){
			System.out.println("num = "+num);
		}
	}
		Inner inner = new Inner();
		inner.show();
	}
}

public class Example19{
	public static void main(String[] args){
		Outer outer = new Outer();
		outer.test();
	}
}